//
//  DYPermissionView.m
//  kafuMerchant
//
//  Created by 帝云科技 on 2018/9/19.
//  Copyright © 2018年 帝云科技. All rights reserved.
//

#import "DYPermissionView.h"

@implementation DYPermissionView

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self=[super initWithFrame:frame]) {
        [self initView];
    }
    return self;
}
-(void)initView
{
    self.backgroundColor=WhiteColor;
    NSArray *array=@[@"权限组",@"人数"];
    for (NSInteger i=0; i<2; i++) {
        UILabel *label=[Utils labelWithTitleFontSize:14 textColor:[UIColor xhq_aTitle] alignment:1];
        label.frame=CGRectMake(i*kScreenWidth/2, 0, kScreenWidth/2, BILIHEIGHT(40));
        label.text=array[i];
        [self addSubview:label];
    }
    
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
